package com.sam.im.heiqun.entities;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.orm.SugarRecord;
import com.sam.im.heiqun.mvp.modle.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by leijiawen on 2017/6/12.
 * 朋友圈动态
 */
public class MyCircleItem extends BaseBean {


    /**
     * pageNo : 1
     * pageSize : 20
     * totalCount : 3
     * orderBy :
     * orderType :
     * list : [{"id":"593e11a207019e575155e061","belongUserId":"17126","feedText":"哈哈哈","feedImgs":"http://120.27.145.73/wmsMobile/upload/1496985093893_test_20170528165058.png","userId":"17127","userName":"左眼皮","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/1495100848536_1495100832468.jpg","createTime":"1497239970970","status":"1","feedId":"33",
     * "imFeedPraises":[{"id":"5","userId":"17126","userName":"右眼皮","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/1494421969436_1494421898443.jpg","createTime":"1497240014584"}],
     * "imFeedComments":[{"id":"16","userId":"17126","userName":"右眼皮","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/1494421969436_1494421898443.jpg","replyUserId":"17127","replyUserName":"左眼皮","replyUserHeadUrl":"http://120.27.145.73/wmsMobile/upload/1495100848536_1495100832468.jpg","commentText":"为什么名字这么长","createTime":"1497240009451"}]},{"id":"593e05bd07019e575155e047","belongUserId":"17126","feedText":"aaaaa11","feedImgs":"","userId":"17068","userName":"名店","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/37901487490263526.png","createTime":"1497236925278","status":"1","feedId":"32","imFeedPraises":"","imFeedComments":""},{"id":"593e050107019e575155dffe","belongUserId":"17126","feedText":"aaaaa","feedImgs":"http://120.27.145.73/wmsMobile/upload/1496985093893_test_20170528165058.png","userId":"17068","userName":"名店","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/37901487490263526.png","createTime":"1497236736671","status":"1","feedId":"31","imFeedPraises":"","imFeedComments":[{"id":"13","userId":"17068","userName":"名店","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/37901487490263526.png","replyUserId":"0","replyUserName":"","replyUserHeadUrl":"","commentText":"asdfasdf","createTime":"1497236762222"}]}]
     * skip : 0
     * totalPage : 1
     */
    @Expose
    private String pageNo;
    @Expose
    private String pageSize;
    @Expose
    private String totalCount;
    @Expose
    private String orderBy;
    @Expose
    private String orderType;
    @Expose
    private String skip;
    @Expose
    private String totalPage;
    @Expose
    private List<ListBean> list;

    @Override
    public String toString() {
        return "MyCircleItem{" +
                "pageNo='" + pageNo + '\'' +
                ", pageSize='" + pageSize + '\'' +
                ", totalCount='" + totalCount + '\'' +
                ", orderBy='" + orderBy + '\'' +
                ", orderType='" + orderType + '\'' +
                ", skip='" + skip + '\'' +
                ", totalPage='" + totalPage + '\'' +
                ", list=" + list +
                '}';
    }

    public String getPageNo() {
        return pageNo;
    }

    public void setPageNo(String pageNo) {
        this.pageNo = pageNo;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }

    public String getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(String totalCount) {
        this.totalCount = totalCount;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getSkip() {
        return skip;
    }

    public void setSkip(String skip) {
        this.skip = skip;
    }

    public String getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(String totalPage) {
        this.totalPage = totalPage;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean
            extends SugarRecord
            implements Serializable {
        /**
         * id : 593e11a207019e575155e061
         * belongUserId : 17126
         * feedText : 哈哈哈
         * feedImgs : http://120.27.145.73/wmsMobile/upload/1496985093893_test_20170528165058.png
         * userId : 17127
         * userName : 左眼皮
         * userHeadUrl : http://120.27.145.73/wmsMobile/upload/1495100848536_1495100832468.jpg
         * createTime : 1497239970970
         * status : 1
         * feedId : 33
         * imFeedPraises : [{"id":"5","userId":"17126","userName":"右眼皮","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/1494421969436_1494421898443.jpg","createTime":"1497240014584"}]
         * imFeedComments : [{"id":"16","userId":"17126","userName":"右眼皮","userHeadUrl":"http://120.27.145.73/wmsMobile/upload/1494421969436_1494421898443.jpg","replyUserId":"17127","replyUserName":"左眼皮","replyUserHeadUrl":"http://120.27.145.73/wmsMobile/upload/1495100848536_1495100832468.jpg","commentText":"为什么名字这么长","createTime":"1497240009451"}]
         *
         "lat": "",
         "lng": "",
         "address": "",
         "at": "",
         "uids": "",
         "feedVideo": "",
         "priv": "0",
         "atUsers": []
         *
         */
        @SerializedName("id")
        @Expose
        private String Lid;
        @Expose
        private String belongUserId;
        @Expose
        private String feedText;
        @Expose
        private String feedImgs;
        @Expose
        private String userId;
        @Expose
        private String userName;
        @Expose
        private String userHeadUrl;
        @Expose
        private String createTime;
        @Expose
        private String status;
        @Expose
        private String feedId;
        @Expose
        private List<FeedPraisesEntity> imFeedPraises;
        @Expose
        private List<CommontsEntity> imFeedComments;
        @Expose
        private String lat;
        @Expose
        private String lng;
        @Expose
        private String address;
        @Expose
        private String at;
        @Expose
        private String uids;
        @Expose
        private String feedVideo;
        @Expose
        private String priv;//atUsers
//        private List<> atUsers;

        @Override
        public String toString() {
            return "ListBean{" +
                    "id='" + Lid + '\'' +
                    ", belongUserId='" + belongUserId + '\'' +
                    ", feedText='" + feedText + '\'' +
                    ", feedImgs='" + feedImgs + '\'' +
                    ", userId='" + userId + '\'' +
                    ", userName='" + userName + '\'' +
                    ", userHeadUrl='" + userHeadUrl + '\'' +
                    ", createTime='" + createTime + '\'' +
                    ", status='" + status + '\'' +
                    ", feedId='" + feedId + '\'' +
                    ", imFeedPraises=" + imFeedPraises +
                    ", imFeedComments=" + imFeedComments +
                    ", isExpand=" + isExpand +
                    '}';
        }

        public String getLat() {
            return lat;
        }

        public void setLat(String lat) {
            this.lat = lat;
        }

        public String getLng() {
            return lng;
        }

        public void setLng(String lng) {
            this.lng = lng;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAt() {
            return at;
        }

        public void setAt(String at) {
            this.at = at;
        }

        public String getUids() {
            return uids;
        }

        public void setUids(String uids) {
            this.uids = uids;
        }

        public String getFeedVideo() {
            return feedVideo;
        }

        public void setFeedVideo(String feedVideo) {
            this.feedVideo = feedVideo;
        }

        public String getPriv() {
            return priv;
        }

        public void setPriv(String priv) {
            this.priv = priv;
        }

        private boolean isExpand ;

        public boolean isExpand() {
            return isExpand;
        }

        public void setExpand(boolean expand) {
            isExpand = expand;
        }

        public String getLId() {
            return Lid;
        }

        public void setLId(String id) {
            this.Lid = id;
        }

        public String getBelongUserId() {
            return belongUserId;
        }

        public void setBelongUserId(String belongUserId) {
            this.belongUserId = belongUserId;
        }

        public String getFeedText() {
            return feedText;
        }

        public void setFeedText(String feedText) {
            this.feedText = feedText;
        }

        public String getFeedImgs() {
            return feedImgs;
        }

        public void setFeedImgs(String feedImgs) {
            this.feedImgs = feedImgs;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserHeadUrl() {
            return userHeadUrl;
        }

        public void setUserHeadUrl(String userHeadUrl) {
            this.userHeadUrl = userHeadUrl;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getFeedId() {
            return feedId;
        }

        public void setFeedId(String feedId) {
            this.feedId = feedId;
        }

        public List<FeedPraisesEntity> getImFeedPraises() {
            return imFeedPraises;
        }

        public void setImFeedPraises(List<FeedPraisesEntity> imFeedPraises) {
            this.imFeedPraises = imFeedPraises;
        }

        public List<CommontsEntity> getImFeedComments() {
            return imFeedComments;
        }

        public void setImFeedComments(List<CommontsEntity> imFeedComments) {
            this.imFeedComments = imFeedComments;
        }

        /*public static class ImFeedPraisesBean implements Serializable{
            *//**
             * id : 5
             * userId : 17126
             * userName : 右眼皮
             * userHeadUrl : http://120.27.145.73/wmsMobile/upload/1494421969436_1494421898443.jpg
             * createTime : 1497240014584
             *//*
            private String id;
            private String userId;
            private String userName;
            private String userHeadUrl;
            private String createTime;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserHeadUrl() {
                return userHeadUrl;
            }

            public void setUserHeadUrl(String userHeadUrl) {
                this.userHeadUrl = userHeadUrl;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }

        public static class ImFeedCommentsBean implements Serializable{
            *//**
             * id : 16
             * userId : 17126
             * userName : 右眼皮
             * userHeadUrl : http://120.27.145.73/wmsMobile/upload/1494421969436_1494421898443.jpg
             * replyUserId : 17127
             * replyUserName : 左眼皮
             * replyUserHeadUrl : http://120.27.145.73/wmsMobile/upload/1495100848536_1495100832468.jpg
             * commentText : 为什么名字这么长
             * createTime : 1497240009451
             *//*

            private String id;
            private String userId;
            private String userName;
            private String userHeadUrl;
            private String replyUserId;
            private String replyUserName;
            private String replyUserHeadUrl;
            private String commentText;
            private String createTime;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUserName() {
                return userName;
            }

            public void setUserName(String userName) {
                this.userName = userName;
            }

            public String getUserHeadUrl() {
                return userHeadUrl;
            }

            public void setUserHeadUrl(String userHeadUrl) {
                this.userHeadUrl = userHeadUrl;
            }

            public String getReplyUserId() {
                return replyUserId;
            }

            public void setReplyUserId(String replyUserId) {
                this.replyUserId = replyUserId;
            }

            public String getReplyUserName() {
                return replyUserName;
            }

            public void setReplyUserName(String replyUserName) {
                this.replyUserName = replyUserName;
            }

            public String getReplyUserHeadUrl() {
                return replyUserHeadUrl;
            }

            public void setReplyUserHeadUrl(String replyUserHeadUrl) {
                this.replyUserHeadUrl = replyUserHeadUrl;
            }

            public String getCommentText() {
                return commentText;
            }

            public void setCommentText(String commentText) {
                this.commentText = commentText;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }*/
    }
}
